package com.tom.mapper.bwarticle;

import com.tom.vo.ArticleVO;

import java.util.List;

/**
 * All rights Reserved, Designed By www.tom.com
 *
 * @version V1.0
 * @Package bw-article-api
 * @Description:
 * @author: dengyi
 * @date:  2020/2/18
 * @Copyright: 2019 www.tomonline-inc.com Inc. All rights reserved.
 * 注意：本内容仅限于TOM集团内部传阅，禁止外泄以及用于其他的商业目
 */
public interface ArticleMapper {
    int insert(ArticleVO record);
    String selectUrl(String newURL,String oldURL,String title,String apiId,String accessParameters);
    int updateArticle(ArticleVO record);
    List<ArticleVO> selectAccessParameters();
    int insertlog(String operation,String operator);


    /**
     * 根据文章请求参数将爬虫记录表中的数据删除
     *
     * @param accessParameters
     * @return
     */
    int delete(String accessParameters);
}
